import request from '@/utils/request'

// 根据物料号码查询仓库
export function MaterialNumAPI(data) {
  return request({
    url: '/storage/materialChange/viewStock/' + data,
    method: 'GET'
  })
}

// 物料变更新增
export function materialChengeAPI(data) {
  return request({
    url: '/storage/materialChange/addChange',
    method: 'POST',
    data
  })
}

// 物料变更列表查询
export function materialChengeListAPI(params) {
  return request({
    url: '/storage/materialChange/list',
    method: 'GET',
    params
  })
}
